/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package systole.view.wizard;

import java.util.HashMap;

/**
 *
 * @author jmj
 */
public abstract class WizardResult {

    protected HashMap<String, Object> results;

    public WizardResult() {
        this.results = new HashMap<String, Object>();
    }

    public WizardResult(HashMap<String, Object> results) {
        this.results = results;
    }

    public void putObjet(String key, Object object) {
        this.results.put(key, object);
    }

    public Object getObject(String key) {
        return this.results.get(key);
    }

    public abstract Object generateResult();

    public abstract String[] generateSummary();
}
